import React, { Component } from "react";
// 引入对应的css
import "./03-style.css";

class App extends Component {
  render() {
    return (
      <>
        <h3>class样式</h3>
        {/* class要换成className,是因为class是一个类的关键字 */}
        <p className="title" id="title1">
          hello React!
        </p>

        <label htmlFor="username">姓名:</label>
        <input id="username" />
      </>
    );
  }
}

export default App;
